<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Gentelella Alela! | </title>

    <!-- Bootstrap -->
    <link th:href="@{/statics/pulgins/bootstrap/dist/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{/statics/pulgins/font-awesome/css/font-awesome.min.css}"  rel="stylesheet">
    <!-- NProgress -->
    <link th:href="@{/statics/pulgins/nprogress/nprogress.css}" rel="stylesheet">
	<!-- Animate.css -->
    <link th:href="@{/statics/pulgins/animate.css/animate.min.css}" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link th:href="@{/statics/common/css/custom.min.css}"  rel="stylesheet">
  </head>

  <body class="login">
    <div>
      <a class="hiddenanchor" id="signup"></a>
      <a class="hiddenanchor" id="signin"></a>

      <div class="login_wrapper">
        <div class="animate form login_form">
          <section class="login_content">
            <form  th:action="@{/admin/realLogin}" id="loginForm">
              <h1>CMS系统登录</h1>
              <div>
                <input id="username" type="text" class="form-control" placeholder="请输登录账号" required="true" name="username"/>
              </div>
              <div>
                <input id="password" type="password" class="form-control" placeholder="请输密码" required="true" name="password"/>
              </div>
              <div>
                <input id="validateCode" name="validateCode" type="text" class="validateCode" placeholder="请输验证码" required="true"  style="width:170px;"/>
                <img src="" id="validateImg" style="width: 175px; height:33px; cursor:pointer;border: none;" />
              </div>
              <div>
                <input id="login-submit" type="button" class="form-control btn btn-default submit" value="登录"/>
              </div>
              <div>
              	<label class="checkbox">
              	<input id="rememberId" type="checkbox" name="rememberMe" class="input-check" value="true" checked="checked"><label style="margin-left:3px">记住用户名</label>
              	</label>
              </div>
              <div class="clearfix"></div>
              <div class="separator">
                <div>
                  <h1><i class="fa fa-paw"></i> fast-cms!</h1>
                  <p>©2016 All Rights Reserved. 风云叶易</p>
                </div>
              </div>
            </form>
          </section>
        </div>
      </div>
    </div>
    <script type="text/javascript" th:inline="javascript">
    	var ctx=/*[[${#servletContext.getContextPath()}]]*/    	
    </script>
    <script th:src="@{/statics/pulgins/seajs/sea.js}"></script>
	<script th:src="@{/statics/pulgins/seajs/config.js}"></script>
	<script type="text/javascript" >
		seajs.use('adminLogin', function(adminLogin) {
			adminLogin.init();
		});
	</script>
  </body>
</html>